//
//  NSImage+Thumbnail.h
//  photoSep
//
//  Created by David Michaeli on 05/10/12.
//  Copyright (c) 2012 David Michaeli. All rights reserved.
//

#import <cv.h>
#import <cvaux.h>
#import <Cocoa/Cocoa.h>
#import <AppKit/AppKit.h>

@interface NSImage (Thumbnail)
- (NSImage*) thumbnailImageVertical: (int)vSize andHorizontal: (int)hSize;
- (CGImageRef) createCGImage;

+ (NSImage*) imageWithCVMat:(const CvMat)cvMat;
- (id)initWithCVMat:(const CvMat)cvMat;


@end
